<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:my="http://java.sun.com/jsf/composite/components">

<ui:composition>

	Sprachprofil
	<a4j:outputPanel id="languageSettings">
		<c:when test="#{ not empty i18n.currentLanguageCode}">		
		v:#{i18n.currentLanguageVariant}
		<h:outputText value="&#160;" />
		c:#{i18n.currentLanguageCode}
		<h:outputText value="&#160;" />
		r:(#{facesContext.externalContext.requestLocale})
		</c:when>
	</a4j:outputPanel>
	
	<br/>
	<microtext class="isSubText">	
		<h:form>																															
		<ui:repeat var="l" value="#{i18n.countries}" varStatus="status">											
		    <a4j:commandLink value="#{l.displayLanguage}" render="@all" >
			    	<a4j:param value="#{l.language}" assignTo="#{i18n.localeByLanguage}" />
			 </a4j:commandLink>	
			 <h:outputText value="&#160;" />							 
		</ui:repeat>
		</h:form>
	</microtext>
								
</ui:composition>

</html>